package com.cloud.pole.weixin.biz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ace.cache.annotation.Cache;
import com.cloud.pole.common.biz.BaseBiz;
import com.cloud.pole.mapper.WxReplyMsgMapper;
import com.cloud.pole.weixin.model.entity.WxReplyMsg;

/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-08 16:23
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class WxReplyMsgBiz extends BaseBiz<WxReplyMsgMapper, WxReplyMsg> {
	
	@Autowired
	WxReplyMsgMapper mapper;
	
	@Cache(key="wxReplyMsg{1}")
	public WxReplyMsg selectByPrimaryKey(Integer replyMsgId) {
		return mapper.selectByPrimaryKey(replyMsgId);
    }
}
